package com.hzcx.app.simplechat.ui.setting.contract;

import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.publicui.bean.ProtocolBean;

public interface UpdatePwdContract {

    interface View extends IView {
        void sendSuccess();
        void updateSuccess();
        void protocolResult(ProtocolBean data);
    }

    interface Presenter extends IPresenter<View> {
        void sendCode(Context context,String mobile,String event,String area_code);
        void updatePwd(Context context,String newpassword,String captcha,String mobile);
        void getProtocol(Context context, String type);
    }

}
